package com.hjy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hjy.pojo.SysRoleAcl;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SysRoleAclMapper extends BaseMapper<SysRoleAcl> {

    @Select("SELECT role_id FROM sys_role_acl WHERE acl_id = #{aclId}")
    List<Integer> getRoleIdListByAclId(@Param("aclId") int aclId);
}
